

import React, { Component } from 'react';
import Son from  "./Son";


export default class index extends Component {
  render() {
    return (
      <div>
        <h1>组件的内容</h1>
        <Son>我是内容</Son>
        <Son leftContent={<div>我是div</div>} >
            <input type="text" placeholder="请输入内容"/>   
            <button>提交</button>
        </Son>
      </div>
    )
  }
}
